﻿[예시 상황]
28번 Lo 룬의 바닥 드랍 모델을 6배로 확대한다.

대상 파일
  data/hd/items/misc/rune/lo_rune.json

이 옵션은 별도의 Prefab, particle, texture를 추가하지 않는다.
Lo 룬의 entity_root 안에 있는 TransformDefinitionComponent의 scale 값만 바꾼다.


1. entity_root의 TransformDefinitionComponent를 찾는다.

바닐라 Lo 룬에는 다음과 같은 부분이 있다.

{
  "type": "TransformDefinitionComponent",
  "name": "entity_root_TransformDefinition",
  "position": {
    "x": -0.2,
    "y": 0.0,
    "z": -0.1
  },
  "orientation": {
    "x": 0.0,
    "y": 0.0,
    "z": 0.0,
    "w": 1.0
  },
  "scale": {
    "x": 1.0,
    "y": 1.0,
    "z": 1.0
  },
  "inheritOnlyPosition": false
}


2. scale 부분만 다음 값으로 바꾼다.

"scale": {
  "x": 6.0,
  "y": 1.2,
  "z": 6.0
},

최종적으로 해당 Transform은 다음 형태가 된다.

{
  "type": "TransformDefinitionComponent",
  "name": "entity_root_TransformDefinition",
  "position": {
    "x": -0.2,
    "y": 0.0,
    "z": -0.1
  },
  "orientation": {
    "x": 0.0,
    "y": 0.0,
    "z": 0.0,
    "w": 1.0
  },
  "scale": {
    "x": 6.0,
    "y": 1.2,
    "z": 6.0
  },
  "inheritOnlyPosition": false
}

이 예시에서는 가로축 X/Z를 6.0으로 확대하고 Y는 1.2를 사용한다.
다른 VFX 항목과 달리 dependencies나 entities를 새로 추가하는 작업은 없다.
